<jsp:include page="../pageheader.jsp"/>
<div class="container">
    <div class="jumbotron">
        <form class="form-horizontal">
            <div class="form-group">
                <label for="userNameField" class="col-xs-12 col-sm-2">Username</label>
                <div class="col-xs-12 col-sm-10">
                    <label id="userNameField" class="form-control">${admin.getLogin().getUsername()}</label>
                </div>
            </div>
            <div class="form-group">
                <label for="newPasswordField" class="col-xs-12 col-sm-2">Password</label>
                <div class="col-xs-12 col-sm-10">
                    <input type="password" class="form-control" maxlength="70" id="newPasswordField" placeholder="Your Passsword"/>
                </div>
            </div>
            <div class="form-group">
                <label for="nameField" class="col-xs-12 col-sm-2">Name</label>
                <div class="col-xs-12 col-sm-10">
                    <input type="text" class="form-control" maxlength="100" id="nameField" value="${admin.getName()}" placeholder="Your Name" />
                </div>
            </div>
            <div class="form-group">
                <label for="identityNumberField" class="col-xs-12 col-sm-2">Identity Number</label>
                <div class="col-xs-12 col-sm-10">
                    <input type="number" class="form-control" maxlength="11" value="${admin.getBi()}" id="identityNumberField" placeholder="Your Identity Number" />
                </div>
            </div>
            <div class="form-group ">
                <label for="emailField" class="col-xs-12 col-sm-2">Email</label>
                <div class="col-xs-12 col-sm-10">
                    <input type="email" class="form-control input-sm" value="${admin.getEmail()}" maxlength="60" id="emailField" placeholder="Your Email" />

                </div>
            </div>
           
            <div class="form-group">
                <button type="button" onclick="onClickEditAdminAccount()" class="btn btn-primary col-xs-12 col-sm-3">Edit</button>
            </div>
        </form>
    </div>
</div>
<jsp:include page="../pagefooter.jsp"/>